@charset "utf-8";
@import "xxPublic";

.goodsImg{
    img{
        width: 100%;
    }
}
.activityTit{
    background: #fff0f0;
    color: $btnred;
    font-size: 1.2rem;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    em{
        border: 1px solid $btnred;
        border-radius: 4px;
        font-size: 1rem;
        padding: 0rem 0.6rem;
    }
}
.cartList{
    background: white;
    overflow: hidden;
    li{
        @include flex;
        align-items: center;
        border-bottom: 1px solid $borderColor;
        padding: 1rem;
        position: relative;
        
        .goodsInfo{
            flex: 1;
            @include flex;
            .goodsImg{
                padding: 0 1rem;
                flex: 1;
            }
            .goodsCon{
                flex: 3;
                p{
                    color: $bigTitle;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                }
                
                .count{
                    border: 1px solid $borderColor;
                    border-radius: 4px;
                    overflow: hidden;
                    input{
                        -webkit-appearance:none; /*去除input默认样式*/
                        width: 50%;
                        border: none;
                        border-left: 1px solid $borderColor;
                        border-right: 1px solid $borderColor;
                        float: left;
                        text-align: center;
                    height: 2rem;
                    color: $bzTxt;
                    }
                    button{
                        width: 23%;
                        border: none;
                        outline: none;
                        float: left;
                        background: none;
                    height: 2rem;
                    color: $bzTxt;
                    }
                }
            }
        }
        .delete{
            position: absolute;
            left: 101%;
            top: 0;
            height: 100%;
            color: white;
            background: $btnred;
            text-align: center;
            width: 60px;
            span{
                margin-top: 70%;
                display: block;
            }
        }
        &.deleteState{
            left: -60px;
        }
    }
}
.chooseIcon{
    background: url(../images/nochoosedIcon.png) no-repeat;
    width: 16px; height: 16px; display: inline-block;
    vertical-align: middle;
    background-size: cover;
    &.choosed{
        background-image: url(../images/choosedIcon.png);
    }
}
.weight{
    font-size: 1.2rem;
    color: $lightTitle;
}
.spec{
    background: $cf5;
    color: $smallTitle;
    border-radius: 6px;
    text-align: center;
}
.price{
    color: $red;
}
.activityAccount{
    background: white;
    padding: 1rem;
    @include flex;
    justify-content: space-between;
    div{
        flex: 1;
    }
}
.totalBox{
    @include flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    line-height: 5rem;
    border-top: 1px solid $borderColor;
    padding: 0 1rem;
    position: fixed;
    bottom: 4rem;
    left: 0; right: 0;
    z-index: 2;
    background: white;
    .account{
        flex: 1;
    }
}
.totalBtn{
    background: $btnred;
    color: white;
    border: none;
    padding: 0 2rem;
    height: 3rem;
    border-radius: 4px;
    margin-left: 1rem;
}



/*收银台*/
.cash{
    margin: 1rem 0;
    text-align: center;
    height: 4rem;
    line-height: 4rem;
    background: white;
    em{
        color:$red;
        font-size: 1.5rem;
    }
}
.cashway{
    padding: 0 1rem;
    background: white;
    li{
        display: flex;
        align-items: center;
        border-bottom: 1px solid $borderColor;
        padding: 1rem 0;
        div{
            flex: 1;
            margin: 0 1rem;
            font-size: 1.3rem;
            color: $smallTitle;
        }
    }
} 
/*
 * 填写订单
 */
.orderAddr{
    @include flex;
    align-items: center;
    padding: 1rem;
    background: white;
    .addrCon{
        @include flexcell;
        margin-left: 1rem;
        .addrPerson{
            @include flex;
            justify-content: space-between;
            line-height: 3rem;
            span{
                @include flexcell;
                em{
                    color: $btnred;
                    border: 1px solid $btnred;
                    border-radius: 4px;
                    font-size: 1.2rem;
                    padding: 0 0.2rem;
                    margin-left: 1rem;
                }
            }
        }
    }
    
}
.nonAddress{
        @include flexcell;
        padding: 3rem 0;
        text-align: center;
        a{
            border: 1px solid $btnred;
            color: $btnred;
            border-radius: 4px;
            padding: 0.5rem 1.2rem;
            background: none;
        }
    }
.borderImg{
    background: url(../images/addr-ge.png) repeat;
    height: 4px;
    background-size: contain;
}
.sevendays{
    color: #6678b3;
    font-size: 1.2rem;
    img{
        margin-right: 0.5rem;
    }
}
.serverTime{
    background: white;
    padding: 1rem;
}
.moneyBox{
    padding: 0 1rem;
    background: white;
    li{
        line-height: 3rem;
        dl{
            dd{
                color: $btnred;
            }
        }
        &.bd{
            border-bottom: 1px solid #ebebeb;
        }
        &.bdlight{
            border-bottom: 1px solid #ededed;
        }
    }
}
.accountPrice{
    padding: 0.5rem 1rem;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: white;
    border-top: 1px solid #EBEBEB;
    em{
        color: $btnred;
    }
    button{
        background: $btnred;
        color: white;
        height: 3rem;
        padding: 0 2rem;
        border: none;
        border-radius: 4px;
    }
}
